<?php

namespace App\Console\Commands;

use App\Models\Order;
use Illuminate\Console\Command;

class RebuildOrder extends Command
{
    /**
     * 重新生成订单
     *
     * @var string
     */
    protected $signature = 'command:rebuildorder';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Command description';

    /**
     * Execute the console command.
     *
     * @return int
     */
    public function handle()
    {
        $order_id = 669;
        $order = Order::find($order_id);

    }
}
